package com.example.springboot_demo.pojo;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description 高端医疗产品投保条件
 * @Author huangyongtao
 * @Date 2020/8/12 14:37
 **/
@Document(collection = "BizMedicalProductCondition")
public class MedicalProductCondition implements Serializable {
	/**
	 * 序列化版本号
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 产品id
	 */
	@Id
	public String productId;
	/**
	 * 保障期间
	 */
	public String coveragePeriod;
	/**
	 * 交费期间
	 */
	public String payPeriod;
	/**
	 * 投保年龄
	 */
	public String ageLabel;

	/**
	 * 创建人
	 */
	private String creator;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 修改人
	 */
	private String editor;

	/**
	 * 修改时间
	 */
	private Date editorTime;

	public String getCoveragePeriod() {
		return coveragePeriod;
	}

	public void setCoveragePeriod(String coveragePeriod) {
		this.coveragePeriod = coveragePeriod;
	}

	public String getPayPeriod() {
		return payPeriod;
	}

	public void setPayPeriod(String payPeriod) {
		this.payPeriod = payPeriod;
	}

	public String getAgeLabel() {
		return ageLabel;
	}

	public void setAgeLabel(String ageLabel) {
		this.ageLabel = ageLabel;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getEditor() {
		return editor;
	}

	public void setEditor(String editor) {
		this.editor = editor;
	}

	public Date getEditorTime() {
		return editorTime;
	}

	public void setEditorTime(Date editorTime) {
		this.editorTime = editorTime;
	}
}
